Skip to content

fix(ci): report skipped Node jobs so native-only PRs can merge - #879

Closed
adrienzheng-cb wants to merge 1 commit into
masterfrom
adrien/ci-node-skip-required-checks
Closed

fix(ci): report skipped Node jobs so native-only PRs can merge#879
adrienzheng-cb wants to merge 1 commit into
masterfrom
adrien/ci-node-skip-required-checks

Conversation

@adrienzheng-cb

Copy link
Copy Markdown
Contributor

What changed? Why?

Always call the Node reusable workflow, and skip its jobs when the classifier says Node is unaffected. Skipping the whole workflow never reports required Node / Build (and related) checks, so GitHub leaves native-only PRs blocked even when Android and iOS pass. Skipped jobs still count as passing required checks.

Unblocks native-only PRs such as #878 after this lands and they rebase.

Root cause (required for bugfixes)

#867 started skipping the Node workflow for native-only changes. Branch protection still requires the Node / * check names. A skipped workflow does not create those checks, so they stay pending.

UI changes

N/A — CI only.

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

This PR changes ci.yml, which forces every toolchain, so Node will run for real here. After merge, a native-only PR should show skipped Node / * jobs and be mergeable.

Testing instructions

  1. Confirm this PR’s Node jobs run (CI files are classified as all toolchains).
  2. After merge, rebase a native-only PR (e.g. refactor(native): align iOS theme object shape with Android #878) and confirm Node / * checks report skipped and no longer block merge.

Illustrations/Icons Checklist

N/A

Change management

type=routine
risk=low
impact=sev5

automerge=false

Made with Cursor

Branch protection requires Node / Build and related checks. Skipping the
entire Node workflow never reports those names, so native-only PRs stay
blocked even when Android and iOS pass.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 1
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1
CODEOWNERS 🟡 See below

🟡 CODEOWNERS

Code Owner Status Calculation
ui-systems-eng-team 🟡 0/1
Denominator calculation
Additional CODEOWNERS Requirement
Show calculation
Sum 0
0
From CODEOWNERS 1
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants